package baidu;

import java.util.*;

/**
 * @author Hang
 * @date 2022/9/13
 * @project AutumnOffer
 * @description
 **/
public class Solution1 {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        String str = sc.next();
        Set<Character> set = new HashSet<>();
        set.add('a');
        set.add('e');
        set.add('i');
        set.add('o');
        set.add('u');
        Map<Character,Integer> map = new HashMap<>();
        int count = 0;
        for(int i=0;i<str.length()-4;i++){
            if(!set.contains(str.charAt(i))&&!set.contains(str.charAt(i+3))){
                map.put(str.charAt(i+1),1);
                if(!map.containsKey(str.charAt(i+2))){
                    map.put(str.charAt(i+2),1);
                }else{
                    continue;
                }
                if(!map.containsKey(str.charAt(i+4))){
                    map.put(str.charAt(i+4),1);
                }else {
                    continue;
                }
                count++;
                map.clear();
            }
        }
        System.out.println(count);
    }
}
